<div class="silk-cms-subheader ui-widget ui-widget-content">
    <h3><tal:block i18n:translate="string:Manage Roles"/></h3>
</div>

<div class="silk-cms-manage-links floatwrapper">
    <ul class="rfloat">
	<li tal:condition="permission:Role Create Access"><a class="silk-cms-button ui-state-default ui-corner-all " tal:attributes="href php:this.link('role_create')"><span class="ui-icon ui-icon-plusthick"/><span class="button-text" i18n:translate="string:Create Role"/></a></li>
    </ul>
</div>

<div id="silk-cms-roles">

    <p tal:condition="empty:roles" i18n:translate="string:No roles defined"></p>

    <tal:block tal:condition="not:empty:roles" tal:content="structure php:this.renderPartial('role/roles', array('roles' => roles))"/>

</div>